package com.system.demo.mapper.comment;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.system.demo.entity.comment.Comments;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface CommentMapper extends BaseMapper<Comments> {

    @Update("UPDATE comments SET is_check = 1 WHERE id = #{id}")
    int updateIsCheck(@Param("id") Integer id);
}
